// components/custom-cell/index.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        boldTitle: {
            type: String,
            value: '默认标题'
        },
        fineTitle: {
            type: String,
            value: '默认标题'
        },
        textColor: {
            type: String,
            value: '#A6A6A6'
        },
        rightIconText: {
            type: String,
            value: '更多'
        },
        rightIconUrl: {
            type: String,
            value: 'arrow'
        },
        round: {
            type: Boolean,
            value: false
        },
        showMore: {
            type: Boolean,
            value: true
        },
        background: {
            type: String,
            value: ''
        }
    },

    /**
     * 组件的初始数据
     */
    data: {
        boldTitle: "",
        fineTitle: "",
        round: "",
        textColor: "",
        rightIconText: "",
        rightIconUrl: "",
        background: ""
    },

    /**
     * 组件的方法列表
     */
    methods: {
        // 右侧按钮点击回调函数方法
        onMoreTap() {
            this.triggerEvent('more')
        }
    }
})